package com.vote.business.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.vote.common.annotation.Excel;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class VoteInfoVO {
    private Long voteId;
    private Long userId;
    private  String voteTitle;
    private String voteStatus;
    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date voteStartTime;
    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date voteEndTime;
    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date voteCreateTime;
    /** 投票时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "投票时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date userVoteTime;

    private String selectedOptions;

    private List<Integer> statusList;

    private Long optionId;
    private Long recordId;
}
